package online.afeibaili.storebackendframework.repository

import online.afeibaili.storebackendframework.model.ShoppingCartEntity
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository


/**
 * 购物车存储层
 *
 *@author AfeiBaili
 *@version 2025/10/20 15:31
 */

@Repository
interface ShoppingCartRepository : JpaRepository<ShoppingCartEntity, String> {
    fun findByAccountId(accountId: String): ShoppingCartEntity?
}